package com.amigo.online.provider.merchant.mongo.dao;

import java.util.List;

import org.bson.Document;

import com.mongodb.BasicDBObject;
import com.mongodb.client.AggregateIterable;

public interface MerchantDao {

    public AggregateIterable<Document> findAroundMerchant(String collection, Double[] point, int searchMaxdistance,
                                                          BasicDBObject query, List<BasicDBObject> pipeline, int totalCount);

}
